/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2024-06-05
 * Time: 10:49
 */
public class Main {
    public static void main(String[] args) {
        Human chinese=new Chinese(185,70);
        Human american=new American(180,65);
        chinese.introduce();
        american.introduce();
    }
    public static void main2(String[] args) {
        Animal cat=new Cat("小麦",2);
        Animal dog=new Dog("红包",2);
        cat.eat();
        dog.eat();
    }
    public static void main1(String[] args) {
        Son son=new Son();
        System.out.println(son.a);
        System.out.println(son.getA1());
        System.out.println(son.getA2());


    }
}